import request from '@/utils/system/request'

export function getData() {
	return request({
		url: '/article/softwareType/list',
		method: 'get',
	})
}

export function add(data: any) {
	return request({
		url: '/article/softwareType/save',
		method: 'post',
		data
	})
}

export function update(data: any) {
	return request({
		url: '/article/softwareType/update',
		method: 'put',
		data
	})
}

export function del(id: any) {
	return request({
		url: '/article/softwareType/' + id,
		method: 'delete',
	})
}